package com.demo.easy.oneLine;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import lombok.Data;
import lombok.ToString;

import java.math.BigDecimal;

/**
 * @Author:YuXuePeng
 * @Date:Created in 2023/4/17 10:39
 */
@Data
@ToString
public class TemplateHeadlerEntity {
    @ExcelProperty(value = "标号",index = 0)
    private String label;

    @ExcelProperty("字符串")
    private String str;

    @ExcelProperty("数字")
    private BigDecimal num;

    @ExcelProperty("时间")
    @DateTimeFormat("yyyy-MM-dd")
    private String date;
}
